package com.zb.vo;

import com.zb.annotation.NumberPattern;
import com.zb.utils.VerificUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Author WEN
 * @Date 2023/10/27 0027
 **/
@Data
@ApiModel("工单备件详情备件物料对象")
public class WorkSpareDetailMaterialVo {
    @ApiModelProperty(value = "备件物料ID")
    private Long id;

    @ApiModelProperty(value = "工单ID")
    private Long workId;

    @ApiModelProperty(value = "工单备件表ID")
    private Long workSpareId;

    @ApiModelProperty(value = "状态：1-待审核，2-已通过，3-已驳回")
    private Integer status;

    @ApiModelProperty(value = "收支类型：1-品牌商家承担，2-平台承担")
    private Integer type;

    @ApiModelProperty(value = "备件表ID")
    private Long spareId;

    @ApiModelProperty(value = "备件规格信息表ID")
    private Long specId;

    @ApiModelProperty(value = "数量")
    private Integer qty;

    @ApiModelProperty(value = "费用")
    private BigDecimal price;

    @ApiModelProperty(value = "向服务商支付费用")
    private BigDecimal payNetworkPrice;

    @ApiModelProperty(value = "收取商家费用")
    private BigDecimal receiveFactoryPrice;

    @ApiModelProperty(value = "仓库表ID")
    private Long storeId;

    @ApiModelProperty(value = "仓库")
    private String store;

    @ApiModelProperty(value = "质保状：false-保内，true-保外")
    private Boolean overinsured;

    @ApiModelProperty(value = "确认使用：0-待确认，1-未使用，2-已使用")
    private Integer sureUseStatus;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "工单服务费用图片对象")
    private List<OrderImageVo> images;

    @ApiModelProperty(value = "申请的备件型号")
    private String applySpareModel;

    @ApiModelProperty(value = "申请的备件规格")
    private String applySpareSpec;

    @ApiModelProperty(value = "申请的备件规格SKU码")
    private String applySpareSpecCode;

    @ApiModelProperty(value = "审核后的备件型号")
    private String checkSpareModel;

    @ApiModelProperty(value = "审核后的备件规格")
    private String checkSpareSpec;

    @ApiModelProperty(value = "审核后的备件规格SKU码")
    private String checkSpareSpecCode;


}
